item COMMAND '"method 'MUIM_Application_AboutMUI' 0"' PORT DOOMGATE LABEL "About MUI"
menu LABEL "Settings"
item COMMAND '"copy env:doomgat#? envarc: all quiet"' PORT Command ATTRS MUIA_Menuitem_Shortcut 'S' LABEL "Save DoomGATE..."
item ATTRS MUIA_Menuitem_Title '-1'
item COMMAND '"method 'MUIM_Application_OpenConfigWindow'"' PORT DOOMGATE LABEL "Edit MUI..."
endmenu
item ATTRS MUIA_Menuitem_Title '-1'
item COMMAND '"quit"' PORT DOOMGATE ATTRS MUIA_Menuitem_Shortcut 'Q' LABEL "Quit"
endmenu
text help '"This is DoomGATE 0.8r1 BETA by\nPiper Communications (http://pcomm.home.ml.org/)\nIf you use this program, you are required to\nEmail the author (pcomm@inorbit.com). Otherwise,\nhow is he supposed to know to keep supporting\nDoomGATE ?!?\n\033rNicholas Piper"',
group REGISTER ID MAIR ATTRS MUIA_CycleChain 1 LABELS "Game,Information,Settings,Network,WADS"
group
group frame label "Command Line Options"
group
group horiz ATTRS MUIA_Group_Columns 8
call GetChecksIntoGUI()
endgroup
space horiz bar
group ATTRS MUIA_Group_Columns 4
label single "-warp"
group ATTRS MUIA_Group_Columns 2
check ID CWAR HELP '"Warp to Stage"' PORT INLINE,
COMMAND """if %s = 0 then do;
address doomgate slider ID WARE ATTRS '0x80423661' 1;
address doomgate slider ID WARM ATTRS '0x80423661' 1;
end;
else do;
address doomgate slider ID WARE ATTRS '0x80423661' 0;
address doomgate slider ID WARM ATTRS '0x80423661' 0;
end"""
group horiz
group
slider ID WARE HELP '"Episode to Warp To (E\033b#\033nL#)"' ATTRS MUIA_Slider_Min 1 MUIA_Slider_Max Max_Episode
endgroup
group
slider ID WARM HELP '"Level to Warp To (E#L\033b#\033n)"' ATTRS MUIA_Slider_Min 1 MUIA_Slider_Max 9
endgroup
endgroup
endgroup
label single "-skill"
group ATTRS MUIA_Group_Columns 2
check ID CSKI HELP '"Skill Level"' PORT INLINE,
COMMAND """if %s = 0 then address doomgate slider ID SKIL ATTRS '0x80423661' 1;
else address doomgate slider ID SKIL ATTRS '0x80423661' 0"""
slider ID SKIL HELP '"Skill Level to Set"' ATTRS MUIA_Slider_Min 1 MUIA_Slider_Max 5
endgroup
label single "-file"
group ATTRS MUIA_Group_Columns 2
check ID CFIL HELP '"Use custom WAD ?"' PORT INLINE,
COMMAND """if %s = 0 then address doomgate popasl ID PFIL ATTRS '0x80423661' 1;
else address doomgate popasl ID PFIL ATTRS '0x80423661' 0"""
popasl ID PFIL help '"Full Path to custom WAD"' Command '"setenv DoomGate/Custom_WAD %s"' port command
endgroup
label single "-turbo"
group ATTRS MUIA_Group_Columns 2
check ID CTUB HELP '"Makes your Marine Faster"' PORT INLINE,
COMMAND """if %s = 0 then address doomgate slider ID TURB ATTRS '0x80423661' 1;
else address doomgate slider ID TURB ATTRS '0x80423661' 0"""
slider ID TURB single HELP '"Turbo Amount"' ATTRS MUIA_Slider_Max 255 MUIA_Slider_Min 1
endgroup
endgroup
endgroup
group horiz
group
label '"Other"'
endgroup
group
string ID COTH help '"Specify your own Commandline..."' ATTRS MUIA_CycleChain 1,
Command """address command;
'setenv DoomGate/OtherLineOptions 'd2c(34)' %s 'd2c(34) """ port inline
endgroup
endgroup
endgroup
group frame ATTRS MUIA_Group_Columns 2 label "Quick Setups"
button ID TPLA single help '"Set up for DeathMatch"' port INLINE,
command """address DOOMGATE;
radio ID NAMT ATTRS 0x80429b41 0;
check ID CDEA ATTRS 0x8042654b 0;
check ID CNOM ATTRS 0x8042654b 0;
check ID CEXT ATTRS 0x8042654b 0;""" label "One Player"
button ID TPLA single help '"Set up for DeathMatch"' port INLINE,
command """address DOOMGATE;
check ID CDEV ATTRS 0x8042654b TRUE;
check ID CDEA ATTRS 0x8042654b TRUE;
check ID CNOM ATTRS 0x8042654b TRUE;
check ID CEXT ATTRS 0x8042654b TRUE;
group ID MAIR ATTRS 0x80424199 '3' ;
radio ID NAMT ATTRS 0x80429b41 '1' """ label "Two Player"
endgroup
group frame label "Executable/Buffers/Stack"
group horiz
group
group horiz
group
List ID PLST TITLE """\033bPort"""
Button ID PLSB label "No Port Selected"
endgroup
endgroup
endgroup
group ATTRS MUIA_Group_Columns 2
group frame label "Buffers"
knob ID BUFS help '"Drive Buffers to Ensure are on This Drive"' ATTRS MUIA_Slider_Max 2000 MUIA_Slider_Min 100 Command '"setenv DoomGate/Buffers %s"' port command
endgroup
group frame label "Stack"
knob ID STAC help '"System Stack to Set before Starting DOOM"' ATTRS MUIA_Slider_Max 51200 MUIA_Slider_Min 4096 Command '"setenv DoomGate/Stack %s"' port command
endgroup
endgroup
endgroup
endgroup
endgroup
group
group register labels 'Doom FAQ,Cheats,DGate Author,Credits'
group
group register labels 'Misc FAQ,WADS ?!?'
group
view file "data/faq.txt"
endgroup
group
view file "data/wads.txt"
endgroup
endgroup
endgroup
group
view file "data/cheat.txt"
endgroup
group
view file "data/author.txt"
endgroup
group
view file "data/credits.txt"
endgroup
endgroup
endgroup
group
group register labels 'Ports,.doomrc'
group
view file "data/conf_ports.txt"
object CLASS '"Balance.mui"'
group scroll frame label "Ports Currently Configured"
if ports.0 = "-1" then do
button label "Error Loading Ports Data"
end
else do i=1 for ports.0
group label ports.i
button label exe.i "\n" dir.i
endgroup
end
endgroup
button port command command """ed data/DoomPorts.data""" label "Edit Configuration"
endgroup
group
group ATTRS MUIA_Group_Columns 2
label ".doomrc"
group ATTRS MUIA_Group_Columns 2
button ID RCLO command """DoomGATE.rexx DOOMRCLOAD""" label "Load .doomrc"
button ID RCSA command """DoomGATE.rexx DOOMRCSAVE""" label "Save .doomrc"
endgroup
endgroup
group register labels "Chat,Misc,Keys"
group scroll ATTRS MUIA_Group_Columns 2
label "Chat 0"
string ID CHT0 ATTRS MUIA_CycleChain 1
label "Chat 1"
string ID CHT1 ATTRS MUIA_CycleChain 1
label "Chat 2"
string ID CHT2 ATTRS MUIA_CycleChain 1
label "Chat 3"
string ID CHT3 ATTRS MUIA_CycleChain 1
label "Chat 4"
string ID CHT4 ATTRS MUIA_CycleChain 1
label "Chat 5"
string ID CHT5 ATTRS MUIA_CycleChain 1
label "Chat 6"
string ID CHT6 ATTRS MUIA_CycleChain 1
label "Chat 7"
string ID CHT7 ATTRS MUIA_CycleChain 1
label "Chat 8"
string ID CHT8 ATTRS MUIA_CycleChain 1
label "Chat 9"
string ID CHT9 ATTRS MUIA_CycleChain 1
endgroup
group scroll ATTRS MUIA_Group_Columns 2
label "Note..."
button label "Some of these sliders go from\n0 to 100. Obviously most of this range\nis wrong -- however the correct range\nis not known yet :-)"
label "Sfx Volume"
slider ID SSFX ATTRS MUIA_CycleChain 1
label "Music Volume"
slider ID SMUS ATTRS MUIA_CycleChain 1
label "Sound Channels"
slider ID SSOU ATTRS MUIA_CycleChain 1 MUIA_Slider_Min 0 MUIA_Slider_Max 8
label "Detail Level"
cycle ID SDET ATTRS MUIA_CycleChain 1 labels "Low,High"
label "Gamma Correct"
slider ID SGAM ATTRS MUIA_CycleChain 1 MUIA_Slider_Min 0 MUIA_Slider_Max 4
label "Screen Blocks"
slider ID SSCR ATTRS MUIA_CycleChain 1
label "Show Messages"
cycle ID SSHO ATTRS MUIA_CycleChain 1 labels "No,Yes"
label "Mouse Sensitivity"
slider ID SMOS ATTRS MUIA_CycleChain 1
endgroup
group
group scroll ATTRS MUIA_Group_Columns 2
label "Note..."
button label "Actual playing keys will be\non this page soon. For now\njust edit the .doomrc manually :-)"
label "Use Mouse"
cycle ID SUMO ATTRS MUIA_CycleChain 1 labels "No,Yes"
label "Use Joystick"
cycle ID SUJO ATTRS MUIA_CycleChain 1 labels "No,Yes"
endgroup
endgroup
endgroup
endgroup
endgroup
endgroup
group
group horiz
view file "data/network.txt"
group
group horiz
label "New Port:"
check ID NPRC HELP '"Use a different TCP/IP Port to normal"' PORT INLINE,
COMMAND """if %s = 0 then address doomgate string ID NPRS ATTRS '0x80423661' 1;
else address doomgate string ID NPRS ATTRS '0x80423661' 0"""
endgroup
string ID NPRS help '"Port to use"' ATTRS MUIA_Disabled TRUE
endgroup
endgroup
group horiz
group frame label "N"
radio ID NAMT PORT INLINE,
COMMAND """address DOOMGATE;options results;
num = %s;
'setvar nodes ' num;
'group ID NETG ATTRS 0x80429ba8 0';
call ca(5);
call oa(num);
'group ID NETG ATTRS 0x80429ba8 1';
exit;
ca:;
do i=1 for arg(1);
'group ID GND'i' ATTRS 0x80429ba8 0';
end;
return 0;
oa:;
do i=1 for arg(1);
'group ID GND'i' ATTRS 0x80429ba8 1';
end;
return 0;
""" ATTRS MUIA_CycleChain 1 HELP '"Number of Players/Nodes"' LABELS '1,2,3,4,5'
endgroup
group frame label "P"
radio ID NAMP PORT INLINE,
COMMAND """options results;address DOOMGATE;
num = %s;
'setvar player 'num;
'getvar nodes';
nodes = result;
if num > nodes then do;
nnum = num - 1;
'radio ID NAMT ATTRS 0x80429b41 'nnum;
end;
do i=1 for 5;
call o(i,0);
end;
call o(num,1);
exit;
o:;
'group ID GND'arg(1)' ATTRS 0x80423661 'arg(2);
return;""" ATTRS MUIA_CycleChain 1 HELP '"Player/Node Number of This Machine"' LABELS '1,2,3,4,5'
endgroup
space
group ID GND frame label "Hostname/IP Information"
group ID NETG
group ID GND1 ATTRS MUIA_Group_Columns 2 ATTRS MUIA_Disabled 1
label "Node 1 IP/Hostname"
string ID NOD1 ATTRS MUIA_CycleChain 1
endgroup
group ID GND2 ATTRS MUIA_Group_Columns 2 MUIA_ShowMe FALSE
label "Node 2 IP/Hostname"
string ID NOD2 ATTRS MUIA_CycleChain 1
endgroup
group ID GND3 ATTRS MUIA_Group_Columns 2 MUIA_ShowMe FALSE
label "Node 3 IP/Hostname"
string ID NOD3 ATTRS MUIA_CycleChain 1
endgroup
group ID GND4 ATTRS MUIA_Group_Columns 2 MUIA_ShowMe FALSE
label "Node 4 IP/Hostname"
string ID NOD4 ATTRS MUIA_CycleChain 1
endgroup
group ID GND5 ATTRS MUIA_Group_Columns 2 MUIA_ShowMe FALSE
label "Node 5 IP/Hostname"
string ID NOD5 ATTRS MUIA_CycleChain 1
endgroup
endgroup
space horiz
endgroup
endgroup
group horiz frame label "Fetch/Offer Settings"
button ID FOSO help '"Allow someone else to view your settings"' label 'Offer'
button ID FOSF help '"View the Settings used on a remote machine"' label 'Fetch'
button ID FOSU help '"Attempt to fix this if its knackered"' label 'UnBodge'
object ID FOSB CLASS '"Busy.mcc"' ATTRS MUIA_Busy_Speed 0
endgroup
endgroup
group
group horiz frame label "Main WAD"
view string "If your WAD is the Ultimate DOOM then select 4. Otherwise select 3. Then save your prefs and quit\nand restart DoomGATE to reflect this change."
radio ID WEPI ATTRS MUIA_CycleChain 1 HELP '"Number of Episodes in this WAD"' PORT Command COMMAND '"setenv DoomGate/Episodes %s"' LABELS '3,4'
endgroup
group frame label "Custom WADS"
list ID WLST NODUP TITLE """\033bWAD Name,\033bWad File,\033bEpisode,\033bLevel""" ATTRS MUIA_List_Format """MIW=25 BAR,MIW=25 BAR,MIW=10 BAR,MIW=10""" MUIA_List_DragSortable 1
group
group ATTRS MUIA_Group_Columns 5 MUIA_Weight 500 frame label "Add"
string ID CWNA ATTRS MUIA_CycleChain 1
popasl ID CWFI ATTRS MUIA_CycleChain 1
popslider ID CWEP ATTRS MUIA_Slider_Min 1 MUIA_Slider_Max Max_Episode MUIA_CycleChain 1
popslider ID CWLE ATTRS MUIA_Slider_Min 1 MUIA_Slider_Max 9 MUIA_CycleChain 1
button ID CWAD ATTRS MUIA_Weight 10 MUIA_CycleChain 1 Label "Add"
endgroup
group horiz
group frame label "Del"
button ID CWDE command '"list ID WLST REMOVE POS -1"' port DOOMGATE label "Remove"
endgroup
group frame label "Use"
button ID CWUS label "Use"
endgroup
group frame ATTRS MUIA_Group_Columns 2 label "Lists"
button ID CWLO label "Load"
button ID CWSA label "Save"
endgroup
endgroup
endgroup
endgroup
endgroup
endgroup
group ATTRS MUIA_Group_Columns 2
button ID STAR ATTRS MUIA_CycleChain 1 label 'Enter DOOM'
button ID QUIT COMMAND '"quit"' PORT DOOMGATE label 'Exit DoomGATE'
endgroup
endwindow
callhook ID PLST COMMAND """;
options results;
address DOOMGATE;
list ID PLST;
'button ID PLSB label' result
""" PORT INLINE ATTRS MUIA_List_Active MUIV_EveryTime
callhook ID WLST COMMAND """;
options results;
address DOOMGATE;
list ID WLST;
parse var result name ',' file ',' episode ',' level;
string ID CWNA CONTENT name;
popasl ID CWFI CONTENT file;
popslider ID CWEP "0x8042ae3a" episode;
popslider ID CWLE "0x8042ae3a" level;
""" PORT INLINE ATTRS MUIA_List_Active MUIV_EveryTime
callhook ID CWAD PRESS PORT INLINE COMMAND """options results;address DOOMGATE;